package com.kb.design.dto;


import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.kb.design.common.Page;
import io.swagger.v3.oas.annotations.media.Schema;
import java.io.Serializable;
import java.time.LocalDateTime;

import lombok.AllArgsConstructor;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

/**
 * 检查结果表;check_value数据表的DTO对象
 * @author : http://www.yonsum.com
 * @date : 2025-9-3
 */
@Data
@Schema(description = "检查结果表")
@JsonInclude(JsonInclude.Include.NON_NULL)// 忽略null值
public class CheckValueDTO extends Page implements Serializable{
    @Schema(description = ";")
    private Long id;
    @Schema(description = "当前节点,;")
    private String nodeName;
    @Schema(description = "检查人工号,;")
    private String checkedBy;
    @Schema(description = "检查人名称,;")
    private String checkedName;
    @Schema(description = "检查类型,;")
    private Integer checkType;
    @Schema(description = "频次,;")
    private int version;
    @Schema(description = "检查结果,;")
    private Integer checkResults;
    @TableField(exist = false)
    private String checkResultsName;
    @Schema(description = ";")
    private Long projectId;
    @Schema(description = "评审意见,;")
    private String review;
    @Schema(description = "附件,;")
    private String fileUrl;
    @Schema(description = "检查时间,;")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime checkTime;
    @Schema(description = "创建人,;")
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime createTime;
    @Schema(description = "更新人,;")
    private String createBy;
    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    private LocalDateTime updateTime;
    @Schema(description = ";")
    private String updateBy;
    @TableField(exist = false)
    private String fileName;
    private Integer del;

}